package com.dormitory.management.system.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 报修表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Repair对象", description="报修表")
public class RepairPageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页",required = true)
    private int pageCurrent = 1;

    @ApiModelProperty(value = "每页记录数",required = true)
    private int pageSize = 10;

    @ApiModelProperty(value = "开始日期")
    private Date gmtStart;

    @ApiModelProperty(value = "修改日期")
    private Date gmtModified;

    @ApiModelProperty(value = "结束日期")
    private Date gmtEnd;

    @ApiModelProperty(value = "报修类型id")
    private Long typeId;

    @ApiModelProperty(value = "学号")
    private String stuId;

    @ApiModelProperty(value = "房间号")
    private Integer room;

    @ApiModelProperty(value = "报修状态（0：待解决，1：已解决，2：申报中，3：已完结）")
    private Integer status;

    @ApiModelProperty(value = "当前用户账号",required = true)
    private String username;


}
